/*
//厘米和英寸的转换
public class conversion {
    double centimeter;
    double inch;

    public conversion(double centimeter,double inch){
        this.centimeter = centimeter;
        this.inch = inch;
    }

    public double inch_become_cm(){
        return inch*2.54;
    }
    public double cm_become_inch(){
        return centimeter/2.54;
    }

    public static void main(String[] args){
        conversion con = new conversion(13,18);
        double c = con.cm_become_inch();
        double i = con.inch_become_cm();
        System.out.println("厘米换英寸："+c);
        System.out.println("英寸换厘米："+i);
    }
}
 */
